import  { App } from 'vue';
import FAiMaster from './src/ai-master.component';
import {propsResolver} from "./src/ai-master-props";
import FAiMasterDesgin from "./src/designer/ai-master.design.component";
export * from './src/ai-master-props';

export { FAiMaster };

export default {
    install(app: App): void {
        app.component(FAiMaster.name, FAiMaster);
    },
    register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['ai-master'] = FAiMaster;
        propsResolverMap['ai-master'] = propsResolver;
    },
    registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['ai-master'] = FAiMasterDesgin;
        propsResolverMap['ai-master'] = propsResolver;
    }
};
